package com.nerve.cloudoffice.domain;

import java.util.Date;

/**
 * @project: cloudOffice
 * @file: Message.java
 * @package: com.nerve.cloudoffice.domain
 * @description:
 *
 * @author: 集成显卡	1053214511@qq.com
				IBM GDC, zengxm@cn.ibm.com
 * @date&time: Aug 19, 2013
 * @change log:
 */
@SuppressWarnings("serial")
public class Message extends BaseEntity {
	private User fromUser;
	private User toUser;
	private String message;
	private boolean read;
	private Date joinDate;
	
	
	public User getFromUser() {
		return fromUser;
	}
	public void setFromUser(User fromUser) {
		this.fromUser = fromUser;
	}
	public User getToUser() {
		return toUser;
	}
	public void setToUser(User toUser) {
		this.toUser = toUser;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public boolean isRead() {
		return read;
	}
	public void setRead(boolean read) {
		this.read = read;
	}
	public Date getJoinDate() {
		return joinDate;
	}
	public void setJoinDate(Date joinDate) {
		this.joinDate = joinDate;
	}
}